package com.mdh.runerrands.service;

import com.mdh.runerrands.pojo.Address;
import java.util.List;

public interface AddressService {
    Address findById(int id);
    boolean deleteById(int id);
    List<Address> findByCustomerId(int customerId);
    List findAllAddressWithCustomer() ;
    boolean insert(Address address);
    boolean update(Address address);
    boolean batchDelete(int ...ids);
    List<Address> queryPage(int page,int pageSize,String province,String city,String area);
    int selectCount(String province,String city,String area);

}
